import Layout from '@/views/layout/Layout'

const activity = {
  path: '/boutiqueStock',
  component: Layout,
  name: 'boutiqueStock',
  alwaysShow: true,
  meta: { title: 'boutiqueStock', icon: 'boutiqueStock' },
  children: [
    {
      path: 'storageChecking', // 库存盘点
      component: () =>
        import('@/views/pre-sale/boutiqueStock/inventoryCheck/inventoryCheck'),
      name: 'storageChecking',
      meta: { title: 'storageChecking' }
    },
    {
      path: 'addStorageChecking', // 新增库存盘点单
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/inventoryCheck/addInventoryCheck'
        ),
      name: 'addStorageChecking',
      hidden: true,
      meta: { title: 'addStorageChecking' }
    },
    {
      path: 'putOutStorageManagement',
      component: () =>
        import('@/views/pre-sale/boutiqueStock/putOutStorageManagement/index'),
      name: 'putOutStorageManagement',
      meta: { title: 'putOutStorageManagement' }
    },
    {
      hidden: true,
      path: 'putOutAdd/:id/:outStorageType/:sourceCode',
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/putOutStorageManagement/putOutAdd'
        ),
      name: 'putOutAdd',
      meta: { title: 'putOutAdd' }
    },
    {
      hidden: true,
      path: 'putOutEdit/:id/:outStorageType/:sourceCode',
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/putOutStorageManagement/putOutAdd'
        ),
      name: 'putOutEdit',
      meta: { title: 'putOutEdit' }
    },
    {
      path: 'putInStorageManagement',
      component: () =>
        import('@/views/pre-sale/boutiqueStock/putInStorageManagement/index'),
      name: 'putInStorageManagement',
      meta: { title: 'putInStorageManagement' }
    },
    {
      hidden: true,
      path: 'putInAdd/:id/:inStorageType/:sourceCode',
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/putInStorageManagement/putInAdd'
        ),
      name: 'putInAdd',
      meta: { title: 'putInAdd' }
    },
    {
      hidden: true,
      path: 'putInEdit/:id/:inStorageType/:sourceCode',
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/putInStorageManagement/putInAdd'
        ),
      name: 'putInEdit',
      meta: { title: 'putInEdit' }
    },
    {
      path: 'transferManagement',
      component: () =>
        import('@/views/pre-sale/boutiqueStock/transferManagement/index'),
      name: 'transferManagement',
      meta: { title: 'transferManagement' }
    },
    {
      hidden: true,
      path: 'transferAdd/:id',
      component: () =>
        import('@/views/pre-sale/boutiqueStock/transferManagement/transferAdd'),
      name: 'transferAdd',
      meta: { title: 'transferAdd' }
    },
    {
      hidden: true,
      path: 'transferEdit/:id',
      component: () =>
        import('@/views/pre-sale/boutiqueStock/transferManagement/transferAdd'),
      name: 'transferEdit',
      meta: { title: 'transferEdit' }
    },
    {
      path: 'storageManagement', // 库存管理
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/storageManagement/inStockManage'
        ),
      name: 'storageManagement',
      meta: { title: 'storageManagement' }
    },
    {
      path: 'inStockDetailManage', // 出库详情
      component: () =>
        import(
          '@/views/pre-sale/boutiqueStock/storageManagement/inStockDetailManage'
        ),
      name: 'inStockDetailManage',
      hidden: true,
      meta: { title: 'inStockDetailManage' }
    }
    // {
    //   path: 'storageManagement',
    //   component: () => import('@/views/pre-sale/boutiqueStock/storageManagement/index'),
    //   name: 'storageManagement',
    //   redirect: '/boutiqueStock/storageManagement/storageRequest',
    //   meta: { title: 'storageManagement', icon: 'activity' },
    //   children: [
    //     {
    //       path: 'storageRequest',
    //       component: () => import('@/views/pre-sale/boutiqueStock/storageManagement/storageRequest'),
    //       name: 'storageRequest',
    //       meta: { title: 'storageRequest', icon: 'activity' }
    //     },
    //     {
    //       path: 'storageMaintain',
    //       component: () => import('@/views/pre-sale/boutiqueStock/storageManagement/storageMaintain'),
    //       name: 'storageMaintain',
    //       meta: { title: 'storageMaintain', icon: 'activity' }
    //     },
    //     // {
    //     //   path: 'storageChecking',
    //     //   component: () => import('@/views/pre-sale/boutiqueStock/storageManagement/storageChecking'),
    //     //   name: 'storageChecking',
    //     //   meta: { title: 'storageChecking', icon: 'activity' }
    //     // },

    //   ]
    // }
  ]
}

export default activity
